<?php

namespace app\admin\validate;

use app\common\validate\BaseValidate;

class ProjectValidate extends BaseValidate
{
    protected $rule = [
        "diggings_id|矿区" => 'require',
        "factory_id|厂区" => 'require',
        "parts_info|服务项目" => 'require|array',

    ];

    protected $message = [];
    
    
    protected $scene = [
        "add" => ['diggings_id','factory_id','parts_info']
    ];
}